<template>
<div>
    <h2>网站首页 </h2>
    <ui-button @click="toDialog">跳转弹窗页面</ui-button>
    <ui-button @click="toForm">跳转表单页面</ui-button>
    <ui-button @click="toSelect">跳转下拉框选择页面</ui-button>
</div>
</template>

<script>
   export default {
        name:  '',
        components: {},
        methods:{
            toDialog(){
               // this.$router.push({name:'dialog',params:{a:'1'}})
                this.$router.push({path:'/dialog',query:{a:'1'}})
            },
            toForm(){
                this.$router.push('/form')
            },
            toSelect(){
                this.$router.push('/selectEx')
            }
        }
   }
</script>
  
<style scoped>

</style>